Skip to content

Slug Creation Should Allow Numbers#41

Merged
alfredxing merged 3 commits intojekyll:masterfrom
coneybeare:master
Nov 30, 2015
Merged

Slug Creation Should Allow Numbers#41
alfredxing merged 3 commits intojekyll:masterfrom
coneybeare:master

Conversation

@coneybeare
Copy link
Copy Markdown
Contributor

I have a site which uses years as tags. Because this value previously checked for String objects only, the slug would not be set, and the value would be nil for later where a crash would occur.

Forcing a to_s and checking length will allow numbers, or pretty much any object that is listed under tags to get through.

@parkr
Copy link
Copy Markdown
Member

parkr commented Nov 25, 2015

/cc @alfredxing

@alfredxing
Copy link
Copy Markdown
Member

👍 Not sure how I missed this one...

alfredxing added a commit that referenced this pull request Nov 30, 2015
@alfredxing alfredxing merged commit 8bec2d7 into jekyll:master Nov 30, 2015
alfredxing added a commit that referenced this pull request Nov 30, 2015
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants